package com.woniuxy.dao;

import com.woniuxy.entity.User;
import org.apache.ibatis.annotations.Param;

public interface userDao {
    //添加用户
    public void addUser(User user);

    //根据用户名和密码查询用户
    //注解的两个参数会自动封装成map集合，括号内即为键
    public void findUserByNameAndPwd(@Param("name")String name, @Param("password")String password);
}
